<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>jsonp2.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
   <script type="text/javascript" src="http://www.coding123.net/rardownload/20130106/20130106170832648.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
<script>
window.onload=function(){
      $.getJSON("http://query.yahooapis.com/v1/public/yql", {
    q: "select * from json where url=\"http://m.weather.com.cn/data/101010100.html\"",
    format: "json"
}, function(data) {
    var $content = $("#content")
    if (data.query.results) {
    	alert(data.query.results);
        $content.text(JSON.stringify(data.query.results));
    } else {
        $content.text('no such code: ' + code);
    }
});
}
</script>
  </head>
  
  <body>
<div id="content">

</div>
  </body>
</html>
